<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

if (!function_exists('load_image')) {

    function load_image($image_name, $attribute = array(), $return = TRUE) {

        $CI = & get_instance();

        return $CI->layouts->load_image($image_name, $attribute, $return);
    }

}

if (!function_exists('render_partial')) {

    function render_partial($partial_name, $data = array()) {

        $CI = & get_instance();

        echo $CI->layouts->render_partial($partial_name, $data);
    }

}

if (!function_exists('get_image_path')) {

    function get_image_path() {
        $CI = & get_instance();
        return $CI->layouts->get_image_path();
    }

}
    
/* End of file Layouts.php */
/* Location: ./application/helpers/Layouts.php */

